package gientech.spring.micro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单表
 * @TableName order
 */
@TableName(value ="order")
@Data
public class Order implements Serializable {
    /**
     * 
     */
    @TableId
    private String oId;

    /**
     * 
     */
    private String uId;

    /**
     * 数量
     */
    private Integer oTotal;

    /**
     * 总价
     */
    private Long oTotalPrice;

    /**
     * 生成时间
     */
    private Date oCreateTime;

    /**
     * 地址
     */
    private String oAddress;

    /**
     * 状态
     */
    private Integer oStatus;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}